import Vue from "vue";

export default function (comp, props) {
	const vm = new Vue({
		render: (h) => h(comp, { props }),
	});
	vm.$mount(); //不挂载的话则得不到实例
	return vm.$el;
}
